<template>
  <el-container id="app">
    <el-header style="text-align:center;line-height:60px">黑云音乐</el-header>
    <el-container style="height:100%">
      <el-aside width="200px">
        <el-menu :default-active="$route.path" router>
          <el-menu-item index="/find">
            <i class="el-icon-search"></i>
            <span slot="title">发现音乐</span>
          </el-menu-item>
          <el-menu-item index="/latest">
            <i class="el-icon-tickets"></i>
            <span slot="title">最新音乐</span>
          </el-menu-item>
          <el-menu-item index="/MV">
            <i class="el-icon-video-camera"></i>
            <span slot="title">最新MV</span>
          </el-menu-item>
        </el-menu>
      </el-aside>
      <el-main class="main">
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>
<script>
export default {}
</script>
<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html,
#app {
  height: 100%;
  background-color: #ededed;
}
.main {
  background-color: #fff;
  height: 100%;
}
</style>
